package top.lishuoboy.hutool.log;

import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;
import cn.hutool.log.StaticLog;

/**
 * @author ：lishuoboy
 * @date ：Created in 2020-11-2 10:23
 * @description：
 * @modified By：
 * @version: $
 */
public class LogFactoryTest {
    
    private static final Log log = LogFactory.get();
    
    public static void main(String[] args) {
        log.error("errorerrorerror");
        log.warn("warnwarnwarn");
        log.info("infoinfoinfo");
        log.debug("debugdebugdebug");
        log.trace("tracetracetrace");  //默认不输出
        
        System.out.println("=============");
        
        log.debug("debug=={},{}", 123, "debug");
        log.error(new Exception("除以零异常"), "error=={}", "吃饱了撑的异常");
        
        
    }
}
